package com.opennews.openplatform.familyexpenseapi.dto.income.expense.detail.type

import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.Size

abstract class BaseIncomeExpenseDetailTypeDto {
    @field:NotBlank(message = "incomeExpenseType can't be blank")
    @field:Size(max = 50, message = "incomeExpenseType must be at most 50 characters")
    lateinit var incomeExpenseType: String
}